﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using XtremBiking.Logica.DTO;
using XtremBiking.Logica.Enumerados.Usuarios;

namespace XtremBiking.Web.Models.Rutinas
{
    public class CreateRoutine
    {
        [DataType(DataType.MultilineText)]
        public string Summary { get; set; }

        [Display(Name = "DisplayLevel", ResourceType = typeof(Recursos.Modelos.Usuarios.CreateUser))]
        //[Required(AllowEmptyStrings = false, ErrorMessageResourceName = "LevelRequired", ErrorMessageResourceType = typeof(Recursos.Modelos.Usuarios.CreateUser))]
        public RoutineType RoutineType { get; set; }

        [Display(Name = "DisplayLevel", ResourceType = typeof(Recursos.Modelos.Usuarios.CreateUser))]
       [DataType(DataType.MultilineText)]
        [ReadOnly(true)]
        public string RoutineTypeIntroduccion { get; set; }

        public RoutineDifficulty RoutineDifficulty { get; set; }

        [Display(Name = "DisplayLevel", ResourceType = typeof(Recursos.Modelos.Usuarios.CreateUser))]
        //[Required(AllowEmptyStrings = false, ErrorMessageResourceName = "LevelRequired", ErrorMessageResourceType = typeof(Recursos.Modelos.Usuarios.CreateUser))]
        public Nivel NivelUsuario { get; set; }

       // List<Series> Series { get; set; }

        public TimeSpan TotalDuration { get; set; }
    }
}